package com.yc.system.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.yc.framework.baseClass.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import lombok.experimental.Accessors;

/**
 * <p>
 * 颜色
 * </p>
 *
 * @author 1850140986@qq.com
 * @since 2022-12-06
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@Accessors(chain = true)
@TableName("t_color")

public class Color extends BaseEntity<Color>{
    private static final long serialVersionUID = 1L;

    /**
     * 颜色ID
     */
    @TableId(value = "color_id", type = IdType.AUTO)
    private Integer colorId;

    /**
     * 颜色名称
     */
    @TableField("color_name")
    private String colorName;

    /**
     * 颜色值
     */
    @TableField("color_value")
    private String colorValue;



}